from package.SysConfigManager import SysConfigManager


config_manager = SysConfigManager()
print("配置文件路径:", config_manager.config_path)

# 获取并打印某个配置项
datasets_dir = config_manager.get_config_path('DATASETS_DIR_PATH')
print("数据集目录:", datasets_dir)

dashscope_api_key_file = config_manager.get_config_path('DASHSCOPE_API_KEY_FILE_PATH')
print("API-KEY文件:", dashscope_api_key_file)


# 直接获取非路径类型的配置项
collection_name = config_manager.get_config_path('CHROMADB_COLLECTION_NAME')
print("集合名称:", collection_name)
